<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>系统登录</title>

    <style>
        div{
            width:300px;
            height:100px;
            position: absolute;
            top:50%;
            left:50%;
            margin-top: -50px ;
            margin-left:-150px;
        }
    </style>
</head>
<body>

<div>
    <form th:action="@{/login/doLogin}" method="post">
        <table>
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="userid"></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" name="password"> <input type="submit" value="登录"></td>
            </tr>
        </table>

    </form>
</div>
</body>
</html>
